/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "缴费明细表",TableName = "PayItem")]
    public partial class PayItem:BaseEntity
    {
        /// <summary>
       ///主键Id
       /// </summary>
       [Key]
       [Display(Name ="主键Id")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Id { get; set; }

       /// <summary>
       ///待缴费Id
       /// </summary>
       [Display(Name ="待缴费Id")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? PayInfoId { get; set; }

       /// <summary>
       ///花费项目
       /// </summary>
       [Display(Name ="花费项目")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string ItemName { get; set; }

       /// <summary>
       ///花费类型
       /// </summary>
       [Display(Name ="花费类型")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string ItemType { get; set; }

       /// <summary>
       ///费用明细项
       /// </summary>
       [Display(Name ="费用明细项")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Items { get; set; }

       /// <summary>
       ///价格
       /// </summary>
       [Display(Name ="价格")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Price { get; set; }

       /// <summary>
       ///是否报销
       /// </summary>
       [Display(Name ="是否报销")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsReimbursement { get; set; }

       
    }
}